<?php

namespace App\Models;

use App\Events\AdminCreating;
use App\Events\AdminUpdating;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class SmsCode extends Model
{
//    const CREATED_AT = 'ctime';
//    const UPDATED_AT = 'mtime';
    public $timestamps = false;
    protected $table = 'sms_code';
    protected $hidden = ['ctime', 'mtime','dtime'];
    protected $fillable = ['mobile','code','result','status','extra','status'];
    protected $guarded = [];

//    protected $dispatchesEvents = [
//        'creating' => AdminCreating::class,
//        'updating' => AdminUpdating::class,
//    ];
    
}
